package com.ciwong.epaper.modules.dictation.dao;

public class DictationDao {

    private static DictationDao instance;

    private DictationDao() {

    }

    /**
     * 获取唯一实例
     *
     * @return 唯一实例
     */
    public static DictationDao getInstance() {
        if (instance == null) {
            syncInit();
        }
        return instance;
    }

    /**
     * 实例化对象
     */
    private static synchronized void syncInit() {
        if (instance == null) {
            instance = new DictationDao();
        }
    }

}
